package com.sscw.task.dao;

import com.guaike.core.mybatis.plugins.BaseDAO;
import com.sscw.task.entity.DDetailsPineNutPO;
import com.sscw.task.mapper.DDetailsPineNutExtMapper;
import com.sscw.task.mapper.DDetailsPineNutMapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Repository;

/**
 * @Author: zhangxilin
 * @Date: 2025/5/9
 */
@Repository
@AllArgsConstructor
public class DDetailsPineNutDAO extends BaseDAO<DDetailsPineNutMapper, DDetailsPineNutPO> {

    private final DDetailsPineNutExtMapper dDetailsPineNutExtMapper;

    public void deleteBeforeDay(Integer days){
        dDetailsPineNutExtMapper.deleteBeforeDay(days);
    }
}
